package com.itheima.dao;

import com.itheima.pojo.SubmitOrder;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface OrderSubmitMapper {

    /**
     * 根据身份证号查询预约信息
     * @param b
     * @return
     */
    @Select("select * from itcast_health.t_ordersubmit where idCard = #{idCard}")
    SubmitOrder getByIdCard(String idCard);
}
